import {data} from './loader.js?title=合并列表&type=1!./test.txt'
import {data as data2} from './loader.js?type=2!./test2.txt'
let list = data.list.map(r => {
    return '<li>' + r.name + '/' + r.age + '/' + r.sex + '</li>'
})
let list2 = data2.list.map(r => {
    return '<li>' + r.name + '/' + r.age + '/' + r.sex + '</li>'
})
document.write('<h1>' + data.title + '</h1><ul>' + list.join('') +  list2.join('') + '</ul>');
